Arguments are: interest—rate per period; term—the number of periods; presval—present value; futval—optional future value (default 0); type— optional type of payment: 0 is payment at end of period (default), 1 is payment at beginning.
pmt returns a table sized interest by term containing the payment per period.